package com.swinw.asumall.auth.feign;

import com.swinw.asumall.auth.vo.UserRegisterVo;
import com.swinw.common.utils.R;
import com.swinw.common.vo.UserLoginVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "member-service")
public interface MemberFeignService {
    @RequestMapping("/member/member/save")
    public R save(@RequestBody UserRegisterVo vo);

    @RequestMapping("/member/member/login")
    public R login(@RequestBody UserLoginVo vo);
}
